import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
let store = createPinia();
export const setupStore = (app) => {
  store.use(piniaPluginPersistedstate);
  app.use(store);
};

export { store };
